package com.project.class4_7;

public class MyTest {
    public static void main(String[] args) {
        LockTest test = new LockTest();
        new Thread(){
            public void run(){
                test.foo();
            }
        }.start();

        new Thread(){
            public void run(){
                test.foo();
            }
        }.start();
    }
}
